﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microhard.WST.BI.Buz.Models
{
    public class OrderModel
    {
        #region Model
        private Guid _orderid;
        private Guid _contractid;
        private Guid _regid;
        private int? _deliverytype;
        private int? _accounting;
        private string _creatorid;
        private string _creatorname;
        private DateTime? _creationdate;
        private string _mark;
        private int? _status;
        private Guid _exprccustomer;
        private string _deliverycode;
        private Guid _paymentid;
        private Guid _creditapplyid;
        private decimal? _paymentamount;
        private int _orderapplyid;
        private string _goodsmark;
        private string _attachmentid;
        /// <summary>
        /// 
        /// </summary>
        public string AttachmentID
        {
            set { _attachmentid = value; }
            get { return _attachmentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GoodsMark
        {
            set { _goodsmark = value; }
            get { return _goodsmark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid OrderID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ContractID
        {
            set { _contractid = value; }
            get { return _contractid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid RegID
        {
            set { _regid = value; }
            get { return _regid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? DeliveryType
        {
            set { _deliverytype = value; }
            get { return _deliverytype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Accounting
        {
            set { _accounting = value; }
            get { return _accounting; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatorID
        {
            set { _creatorid = value; }
            get { return _creatorid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatorName
        {
            set { _creatorname = value; }
            get { return _creatorname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreationDate
        {
            set { _creationdate = value; }
            get { return _creationdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Mark
        {
            set { _mark = value; }
            get { return _mark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ExPrcCustomer
        {
            set { _exprccustomer = value; }
            get { return _exprccustomer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DeliveryCode
        {
            set { _deliverycode = value; }
            get { return _deliverycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid PaymentID
        {
            set { _paymentid = value; }
            get { return _paymentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid CreditApplyID
        {
            set { _creditapplyid = value; }
            get { return _creditapplyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal? PaymentAmount
        {
            set { _paymentamount = value; }
            get { return _paymentamount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int OrderApplyID
        {
            set { _orderapplyid = value; }
            get { return _orderapplyid; }
        }
        #endregion Model

        #region 导航功能
        public ContractModel Contract { set; get; }
        public ContractRegModel RegInfo { set; get; }

        #endregion
    }
}
